projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a09143
)
tests: Fix testgmenu
author
Alexander Mikhaylenko
<alexm@gnome.org>
Sun, 10 May 2020 23:58:36 +0000
(
04:58
+0500)
committer
Alexander Mikhaylenko
<alexm@gnome.org>
Sun, 10 May 2020 23:58:36 +0000
(
04:58
+0500)
GtkMenuButton isn't a GtkButton anymore.
tests/testgmenu.c
patch
|
blob
|
history
diff --git
a/tests/testgmenu.c
b/tests/testgmenu.c
index f4355609678af6fa7170e56da10ab9c083ee3bf7..d4a342c3d1fc5dab2b391270ed4dd75426ad5010 100644
(file)
--- a/
tests/testgmenu.c
+++ b/
tests/testgmenu.c
@@
-685,7
+685,7
@@
main (int argc, char *argv[])
else
{
button = gtk_menu_button_new ();
- gtk_
button_set_label (GTK
_BUTTON (button), "Click here");
+ gtk_
menu_button_set_label (GTK_MENU
_BUTTON (button), "Click here");
gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (button), model);
gtk_widget_insert_action_group (button, "actions", group);
gtk_container_add (GTK_CONTAINER (box), button);